Optimal. Leaf size=83 \[ \frac{15}{8} a^2 \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )-\frac{\left (a+b x^2\right )^{5/2}}{x}+\frac{5}{4} b x \left (a+b x^2\right )^{3/2}+\frac{15}{8} a b x \sqrt{a+b x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0250642, antiderivative size = 83, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267, Rules used = {277, 195, 217, 206} \[ \frac{15}{8} a^2 \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )-\frac{\left (a+b x^2\right )^{5/2}}{x}+\frac{5}{4} b x \left (a+b x^2\right )^{3/2}+\frac{15}{8} a b x \sqrt{a+b x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 277
Rule 195
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{\left (a+b x^2\right )^{5/2}}{x^2} \, dx &=-\frac{\left (a+b x^2\right )^{5/2}}{x}+(5 b) \int \left (a+b x^2\right )^{3/2} \, dx\\ &=\frac{5}{4} b x \left (a+b x^2\right )^{3/2}-\frac{\left (a+b x^2\right )^{5/2}}{x}+\frac{1}{4} (15 a b) \int \sqrt{a+b x^2} \, dx\\ &=\frac{15}{8} a b x \sqrt{a+b x^2}+\frac{5}{4} b x \left (a+b x^2\right )^{3/2}-\frac{\left (a+b x^2\right )^{5/2}}{x}+\frac{1}{8} \left (15 a^2 b\right ) \int \frac{1}{\sqrt{a+b x^2}} \, dx\\ &=\frac{15}{8} a b x \sqrt{a+b x^2}+\frac{5}{4} b x \left (a+b x^2\right )^{3/2}-\frac{\left (a+b x^2\right )^{5/2}}{x}+\frac{1}{8} \left (15 a^2 b\right ) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{a+b x^2}}\right )\\ &=\frac{15}{8} a b x \sqrt{a+b x^2}+\frac{5}{4} b x \left (a+b x^2\right )^{3/2}-\frac{\left (a+b x^2\right )^{5/2}}{x}+\frac{15}{8} a^2 \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )\\ \end{align*}
Mathematica [C] time = 0.0075302, size = 52, normalized size = 0.63 \[ -\frac{a^2 \sqrt{a+b x^2} \, _2F_1\left (-\frac{5}{2},-\frac{1}{2};\frac{1}{2};-\frac{b x^2}{a}\right )}{x \sqrt{\frac{b x^2}{a}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 85, normalized size = 1. \begin{align*} -{\frac{1}{ax} \left ( b{x}^{2}+a \right ) ^{{\frac{7}{2}}}}+{\frac{bx}{a} \left ( b{x}^{2}+a \right ) ^{{\frac{5}{2}}}}+{\frac{5\,bx}{4} \left ( b{x}^{2}+a \right ) ^{{\frac{3}{2}}}}+{\frac{15\,abx}{8}\sqrt{b{x}^{2}+a}}+{\frac{15\,{a}^{2}}{8}\sqrt{b}\ln \left ( x\sqrt{b}+\sqrt{b{x}^{2}+a} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.57637, size = 329, normalized size = 3.96 \begin{align*} \left [\frac{15 \, a^{2} \sqrt{b} x \log \left (-2 \, b x^{2} - 2 \, \sqrt{b x^{2} + a} \sqrt{b} x - a\right ) + 2 \,{\left (2 \, b^{2} x^{4} + 9 \, a b x^{2} - 8 \, a^{2}\right )} \sqrt{b x^{2} + a}}{16 \, x}, -\frac{15 \, a^{2} \sqrt{-b} x \arctan \left (\frac{\sqrt{-b} x}{\sqrt{b x^{2} + a}}\right ) -{\left (2 \, b^{2} x^{4} + 9 \, a b x^{2} - 8 \, a^{2}\right )} \sqrt{b x^{2} + a}}{8 \, x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.67323, size = 117, normalized size = 1.41 \begin{align*} - \frac{a^{\frac{5}{2}}}{x \sqrt{1 + \frac{b x^{2}}{a}}} + \frac{a^{\frac{3}{2}} b x}{8 \sqrt{1 + \frac{b x^{2}}{a}}} + \frac{11 \sqrt{a} b^{2} x^{3}}{8 \sqrt{1 + \frac{b x^{2}}{a}}} + \frac{15 a^{2} \sqrt{b} \operatorname{asinh}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{8} + \frac{b^{3} x^{5}}{4 \sqrt{a} \sqrt{1 + \frac{b x^{2}}{a}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 2.86719, size = 117, normalized size = 1.41 \begin{align*} -\frac{15}{16} \, a^{2} \sqrt{b} \log \left ({\left (\sqrt{b} x - \sqrt{b x^{2} + a}\right )}^{2}\right ) + \frac{2 \, a^{3} \sqrt{b}}{{\left (\sqrt{b} x - \sqrt{b x^{2} + a}\right )}^{2} - a} + \frac{1}{8} \,{\left (2 \, b^{2} x^{2} + 9 \, a b\right )} \sqrt{b x^{2} + a} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]